package com.qf.pojo;


import java.util.Date;
import java.util.List;

public class TbOrder implements CheckNull {

  private String id;
  private long uid;
  private long money;
  private String status;
  private long aid;
  private Date time;

  private TbAddress address;

  private List<TbOrderdetail> orderdetails;

  public List<TbOrderdetail> getOrderdetails() {
    return orderdetails;
  }

  public void setOrderdetails(List<TbOrderdetail> orderdetails) {
    this.orderdetails = orderdetails;
  }

  public TbAddress getAddress() {
    return address;
  }

  public void setAddress(TbAddress address) {
    this.address = address;
  }

  public Date getTime() {
    return time;
  }

  public void setTime(Date time) {
    this.time = time;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public long getUid() {
    return uid;
  }

  public void setUid(long uid) {
    this.uid = uid;
  }


  public long getMoney() {
    return money;
  }

  public void setMoney(long money) {
    this.money = money;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }



  public long getAid() {
    return aid;
  }

  public void setAid(long aid) {
    this.aid = aid;
  }

  @Override
  public String toString() {
    return "TbOrder{" +
            "id='" + id + '\'' +
            ", uid=" + uid +
            ", money=" + money +
            ", status='" + status + '\'' +
            ", aid=" + aid +
            ", time=" + time +
            ", address=" + address +
            ", orderdetails=" + orderdetails +
            '}';
  }

  @Override
  public boolean isEmpty() {
    return false;
  }
}
